<!DOCTYPE html>
<html>
{% include 'head.html' %}
<body>
	{% include 'navbar.html' %}
	{% include 'header.html' %}
	<table class="table table-striped">
		<tr><th class="span8">#{{genres.start_index}}{% if not genres.start_index == genres.end_index %}-{{genres.end_index}}{%endif%} (of {{genres.paginator.count}}) genres</th></tr>
		{% for genre in genres %}
			<tr>
				{% url movies.views.view_genre description=genre.Description as genre_url %}
				<td><a href="{{ genre_url }}">{{genre.Description}}</a></td>
			</tr>
		{% endfor %}
	</table>
	{% url movies.view_genres as genres_url %}
	<div class="pagination">
		<ul>
			<li {% if not genres.has_previous %} class="disabled" {% endif %}}><a href="{{genres_url}}?page={{genres.previous_page_number}}&length={{genres.paginator.per_page}}">&lt;&lt;</a></li>
			<li class="active"><a href="{{genres_url}}?page={{genres.number}}&length={{genres.paginator.per_page}}">{{genres.number}}</a></li>
			<li{% if not genres.has_next %} class="disabled" {% endif %}}><a href="{{genres_url}}?page={{genres.next_page_number}}&length={{genres.paginator.per_page}}">&gt;&gt;</a></li>
		</ul>
	</div>
	{% include 'footer.html' %}
</body>
</html>